using System;
using System.Collections;
using System.Web.UI;
using System.Web.UI.WebControls;
using Spring.Objects.Factory;

namespace Sedna.Core.Controller
{
	public interface IValidatorWrapper
	{

		string Id
		{
			get;
		}

		string ValidatorName
		{
			get;
		}

		string PlaceHolderId
		{
			get;
		}

		IDictionary OverridenProperties
		{
			get;
		}

		string ServerValidateEventHandlerName
		{
			get;
		}

		string ServerValidateEventName
		{
			get;
		}

		Type ServerValidateEventHandlerType
		{
			get;
		}

		IValidator BuildValidator(IObjectFactory objectFactory);




//		string GetLocalizedMessage();
//		string GetLocalizedMessage(string defaultValue);

	}
}
